Motion.StopGroup 方法

命令一个控制运动停止并将轴组状态转换为轴组停止 (GroupStopping)。当轴组处于轴组停止 (GroupStopping) 状态时,无法使用任何方法在轴组上执行运动,当轴组到达速度零后,KsCommandStatusDone 栏位将立即设为 true。欲离开轴组停止 (GroupStopping) 状态并转换为轴组静止 (GroupStandstill) 状态,请使用 Api.AbortCommand

命名空间IntervalZero.KINGSTAR.Local.Api

组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

语法

C#VB
public KsCommandStatus StopGroup(
       int Index,
       double Deceleration,
       double Jerk
)
Public Function StopGroup(
       Index As Integer,
       Deceleration As Double,
       Jerk As Double
) As KsCommandStatus

参数

Index [in]

型别:int

轴组的索引。索引以 0 为起始。最多可有 32 个轴组。

 

Deceleration [in]

型别:double

减速度值,单位由 McProfileType。[单位/秒2] 或 [秒]

 

Jerk [in]

型别:double

加加速度值,单位由 McProfileType。[单位/秒3] 或 [秒]

回传值

型别:KsCommandStatus

回传 KsCommandStatus 类别。

范例

C#
N/A

参见

Motion 类别

IntervalZero.KINGSTAR.Local.Api 命名空间